package com.financing.platform.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.IFpFundMFDao;
import com.financing.platform.dto.FpFundMFDTO;
import com.financing.platform.service.IFpFundMFService;

/**
 * @Description:Service实现类
 * @version 1.0
 * @created caojiayao
 */
 
@Service(value="fpFundMFService")
public class FpFundMFServiceImpl implements IFpFundMFService {
    @Autowired
	private IFpFundMFDao fpFundMFDao;
	
	
	@Override
	public FpFundMFDTO getFpFundMF(Integer id) {
		return fpFundMFDao.getFpFundMF(id);
	}
	
	
	@Override
	public Integer insertFpFundMF(FpFundMFDTO dto) {
		return fpFundMFDao.insertFpFundMF(dto);
	}

	
	@Override
	public Integer updateFpFundMF(FpFundMFDTO dto) {
		return fpFundMFDao.updateFpFundMF(dto);
	}
	
	@Override
	public Integer delFpFundMF(Integer id) {
		return fpFundMFDao.delFpFundMF(id);
	}
	
	@Override
	public List<FpFundMFDTO> listFpFundMF(FpFundMFDTO dto) {
		return fpFundMFDao.listFpFundMF(dto);
	}
	
	@Override
	public List<FpFundMFDTO> listFpFundMFByPage(FpFundMFDTO dto) {
		return fpFundMFDao.listFpFundMFByPage(dto);
	}
	
	@Override
	public Integer countFpFundMF(FpFundMFDTO dto){
		return fpFundMFDao.countFpFundMF(dto);
	}
}
